package com.example.demo.model.form;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@NoArgsConstructor
@Schema(description = "用户信息更新表单")
public class UserProfileForm implements Serializable {

    //@NotEmpty(message = "昵称不能为空")
    @Schema(description = "昵称")
    private String nickname;
    //@NotEmpty(message = "性别不能为空")
    @Schema(description = "性别")
    private String gender;
    //@NotEmpty(message = "手机号不能为空")
    @Schema(description = "手机号")
    private String phone;
    //@NotEmpty(message = "邮箱不能为空")
    @Schema(description = "邮箱")
    private String email;
    @Schema(description = "头像")
    private String avatar;

}
